Ext.define('cp.view.ui.DecoratorFormSimple',{
    extend: 'Ext.window.Window',
    alias: 'widget.decoratorFormSimple',
    
    closable: true,
    resizable: false,
    minimizable: true,
    
    initComponent: function(){
        this.title = this.aTitle;
        this.items = this.aForm;
        this.buttons =[
            {xtype: 'button', itemId: 'magick-button', hidden: false, text: 'Aceptar', action: 'aceptar' }
        ]
        this.callParent(arguments);
    },
    
    submitForm: function(){
       this.getComponent(0).submitForm();
    }
            
});